package io.choerodon.devops.infra.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import io.choerodon.devops.api.vo.workload.DevopsCronjobVO;
import io.choerodon.devops.infra.dto.DevopsCronJobDTO;
import io.choerodon.mybatis.common.BaseMapper;

/**
 * 〈功能简述〉
 * 〈〉
 *
 * @author wanghao
 * @since 2021/6/8 11:16
 */
public interface DevopsCronJobMapper extends BaseMapper<DevopsCronJobDTO>, WorkLoadBaseMapper {

    List<DevopsCronjobVO> listByEnvId(@Param("envId") Long envId,
                                      @Param("name") String name,
                                      @Param("fromInstance") Boolean fromInstance);
}
